/*
 *  Class name: SGARestApplication.java
 *  Version: 1.0
 *  Date: 19.1.2014
 */
package cz.muni.fi.pa165.soccergamesarchive.rest;

import org.glassfish.jersey.server.ResourceConfig;
import org.glassfish.jersey.server.filter.RolesAllowedDynamicFeature;

/**
 *
 * @author Michal Ďuriš
 */
public class SGARestApplication extends ResourceConfig {

    public SGARestApplication() {
        packages("cz.muni.fi.pa165.soccergamesarchive.rest.services;"
                + " cz.muni.fi.pa165.soccergamesarchive.common.providers");

        register(RolesAllowedDynamicFeature.class);
    }

}
